package com.hanthink.web.controller.app.user;

import java.util.List;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.hanthink.common.annotation.Log;
import com.hanthink.common.core.controller.BaseController;
import com.hanthink.common.core.domain.AjaxResult;
import com.hanthink.common.enums.BusinessType;
import com.hanthink.system.domain.user.ConvertFactoryID;
import com.hanthink.system.service.user.IConvertFactoryIDService;
import com.hanthink.common.utils.poi.ExcelUtil;
import com.hanthink.common.core.page.TableDataInfo;

/**
 * -Controller
 * 
 * @author hanthink
 * @date 2022-12-09
 */
@RestController
@RequestMapping("/system/ConvertFactoryID")
public class ConvertFactoryIDController extends BaseController
{
    @Autowired
    private IConvertFactoryIDService convertFactoryIDService;

    /**
     * 获取-详细信息
     */
    @GetMapping(value = "/getList/{factoryid}")
    public AjaxResult getInfo(@PathVariable("factoryid") Long factoryid)
    {
        return AjaxResult.success(convertFactoryIDService.selectConvertFactoryIDById(factoryid));
    }
}
